feat: v1.1 entry — @deepcode/vscode + @deepcode/lsp scaffolds#55
Merged
Conversation
Two new packages opening the v1.1 multi-IDE story.
apps/vscode (NEW):
· package.json — extension manifest: 3 commands (openPanel/run/review),
activity bar + chat view, configuration (apiKey/model/effort),
default keybinding Cmd-Shift-D.
· src/extension.ts — activate/deactivate + ChatViewProvider (webview
with auto-styled VS Code theme tokens). Lazy `require('vscode')` so
package builds without @types/vscode installed yet.
· tsconfig.json (noEmit for now; flips to emit when @vscode/vsce lands).
· vitest.config.ts — opt-out config so vitest doesn't try to load
@types/vscode.
· README.md — install/build/package commands, architecture, commands
table, settings table, roadmap.
apps/lsp (NEW):
· src/server.ts — stdio LSP server with proper `Content-Length: N`
framing. SIGTERM/SIGINT clean exit.
· src/handler.ts — JSON-RPC dispatcher exposing 3 custom commands
(deepcode.runAgent / deepcode.abort / deepcode.listSkills) via
workspace/executeCommand, plus standard LSP boilerplate
(initialize/initialized/shutdown/exit).
· 8 unit tests cover: initialize capabilities, runAgent ack + event
stream, missing prompt error, unknown command, unknown notification.
· README.md with editor configs for Neovim (lspconfig), Emacs
(lsp-mode), Sublime (LSP package).
· bin: deepcode-lsp → dist/server.js
Tiny housekeeping:
· apps/desktop/electron/main.ts and apps/lsp/src/handler.ts now read
`s.qualifiedName` / `s.frontmatter.description` from Skill (the
actual core shape — was using stale s.name/s.description).
Tests: 514 → 522 passing (+8 LSP). Build clean across 6 packages now:
packages/core, packages/shared-ui, apps/cli, apps/desktop, apps/vscode,
apps/lsp.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two new packages. apps/vscode: extension manifest + activate/deactivate + ChatViewProvider webview. apps/lsp: stdio LSP server + JSON-RPC handler exposing 3 commands (runAgent/abort/listSkills) + streams deepcode/agentEvent notifications. 8 LSP tests. Editor config snippets for Neovim/Emacs/Sublime. Total 522 tests passing.